Indian stock markets recovered from early losses to close higher, driven by value buying in IT and banking shares and a rebound in the rupee.